package com.gxa.entity.receipt;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_bill")
@ApiModel(value = "Bill对象", description = "")
public class
Bill implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号，发票表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("开票金额 ")
    @TableField("invoice_amount")
    private Integer invoiceAmount;

    @ApiModelProperty("发票创建时间 ")
    @TableField("bill_createTime")
    private Date billCreateTime;

    @ApiModelProperty("发票状态 0未完成  1已完成")
    @TableField("bill_status")
    private Integer billStatus;

    @ApiModelProperty("申请人 ")
    @TableField("bill_person")
    private String billPerson;

    @ApiModelProperty("电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty("申请时间")
    @TableField("apply_time")
    private Date applyTime;

    @ApiModelProperty("抬头名字 ")
    @TableField("payable_name")
    private String payableName;

    @ApiModelProperty("税号")
    @TableField("tax_number")
    private String taxNumber;

    @ApiModelProperty("发送邮箱 ")
    @TableField("send_email")
    private String sendEmail;

    @ApiModelProperty("抬头类型 0企业 1为个人")
    @TableField("firmtype_name")
    private Integer firmTypeName;

    @ApiModelProperty("业务类型 0为停车")
    @TableField("business_name")
    private Integer businessName;

    @ApiModelProperty("发票类型 0为企业 1为个人")
    @TableField("billtype_name")
    private Integer billTypeName;

    @ApiModelProperty("0为正常 1为删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
